/**
 * 对 VueRouter push 方法改写，插入一些自定义操作
 */
import VueRouter from 'vue-router';

VueRouter.prototype.__push = VueRouter.prototype.push;
VueRouter.prototype.push = function (...args) {
  console.info('hack router push');
  // 比如这里 store.xxx = xx;
  // sessionStorage.set(xxx) 等
  this.__push(...args);
};

export default null;